package com.example.demospringmybatisplus.service;

import com.example.demospringmybatisplus.entity.Invoice;

import org.springframework.stereotype.Service;

/**
 * 通知服务业务类
 *
 * @author huahua
 * @DATE 2025/8/2
 **/
@Service
public class NotificationService {
    public void createActionNotification(Invoice invoice){
        System.out.println("创建发票成功，开始通知......");
    }

    public void cancelActionNotification(Invoice invoice){
        System.out.println("取消发票成功，开始通知......");
    }

    public void addRetrieveActionNotification(Invoice invoice){
        System.out.println("添加查询发票成功，开始通知......");
    }
}
